Description
Operating system: CentOS 6.x
IP Address: 192.168.21.188
Implementation Purpose: Synchronize the contents of the CentOS mirrored site to this server, and by configuring the HTTP server, can provide Yum
Use the yum command provided by CentOS Linux to install and upgrade the library.
1. change yum source to NetEase source to increase speed
Vi/etc/yum. repos. d/CentOS-Base.repoThe changes are as follows:
# CentOS-Base.repo
#
# This file uses a
What is PHP-FPMPHP-FPM is a PHPFastCGI manager, is only for PHP, PHP-FPM is actually a patch of PHP source code, designed to integrate FastCGI process management into PHP package. You must patch it to your PHP source code before it can be used after
What is PHP-FPMPHP-FPM is a PHP FastCGI manager that is only used for PHP,PHP-FPM is actually a patch of PHP source code, designed to integrate FastCGI process management into the PHP package. You must patch it to your PHP source code before using
1. For the source, Sohu is quite easy to use.
1.1 backup CentOS-Base.repo
CD/etc/yum. Repos. d/
CP CentOS-Base.repo CentOS-Base.repo.bak
1.2 replace Source
Open the CentOS-Base.repo with VI, clear the content, copy the following content into it,
Today with the Yum method built a lamp environment, encountered a lot of problems, after Google and the help of predecessors, finally set up the environment, now the complete steps to record down,1. Change the source, the Sohu is quite useful. 1.1
Install Nginx, PHP 5.5.15 and php-fpm on Fedora 20/19/18/17, CentOS 7/6.5/5.10, Red Hat (RHEL) 7/6.5/5.101. Change to root user.Su 2. Install needed repositoriesCentOS 7/6.5/5.10 and Red Hat (RHEL) 7/6.5/5.10 Remi
1. The source, Sohu is quite easy to use.
1.1 Backup Centos-base.repo
cd/etc/yum.repos.d/
CP Centos-base.repo Centos-base.repo.bak
1.2 Replacement Source
Open the Centos-base.repo with VI and empty the contents, then copy the contents below and
In centos, yum is used to build and install the linux + apache + mysql + php environment and centosyum
I. Script YUM source installation:
1. yum install wget # install the download tool wget2. wget http://www.atomicorp.com/installers/atomic #
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.